home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
djgpp
/
tktdoc
/
testinst.doc
< prev
next >
Wrap
Text File
|
1994-08-11
|
2KB
|
56 lines
BUILDING A SAMPLE DEMO
After your installation is complete and you have configured your system
for the compiler and model you are going to use, building a demo is
easy. Start up DESQview/X, open a DOS window and follow the examples.
Example 1: Motif Periodic Table of Widgets
Change directories to \<DVXDIR>\demos\periodic
( \<DVXDIR> is usually \dvx ) and type qmake at the DOS prompt.
The periodic program will compile and link, the Motif periodic.uid
file will be generated by the Motif Uil compiler (the Uil compiler
uil.exe will only run under DESQview/X). Then you can
type periodic at the DOS prompt.
Within a few seconds the program should come up.
The periodic program displays the Motif Periodic Table of Widgets. It
uses many of the widgets available in the Motif toolkit. It also can
be used to demonstrate the new Motif 1.2.x features such as tear off
menus and drag and drop. Amaze your friends.
Example 2: X Calculator
Change directories to \<DVXDIR>\clients\xcalc and
type qmake at the DOS prompt.
The Xcalc program will compile and link. When complete
type xcalc at the DOS prompt.
Within a few seconds the program should come up. The xcalc calculator
program will be displayed. Iconify it, you should see the bitmap "calculat"
icon. If the Xcalc buttons look correct and you can see the calculator
bitmap icon, then your installation is correct.
If the Xcalc program crashes upon startup it could be because you
did not install the toolkit in the same directory as DESQview/X. There
is a bitmap called "calculat" which needs to be in \<DVXDIR>\include\x11\bitmaps
in order for it to run properly. You need to put bitmaps for all of
your applications in that directory.
If the Xcalc program comes up but looks like a bunch of little superimposed
boxes then the xcalc.res resource file is not being read. It should
have been put in the \<DVXDIR>\app-defa directory. If it is there,
but it isn't being read, check your HOME environment variable and
unset it by doing c:set home=<CR>.
Run xcalc again.
If these programs do not compile, link and run properly then your
installation or configuration is not correct. Refer to Appendix A
Trouble Shooting.